<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ include file="../head.jsp" %>


<table cellspacing=1 cellpadding=3 align=center class=tableBorder2>
	<tr>
		<td height=25 valign=middle>
        	<img src="images/Forum_nav.gif" >
            <a href="PageQueryProductServlet">电子商务门户</a> →
			<img border="0" src="images/dog.gif" width="19" height="18">
			欢迎<font color="red"></font>光临！
		</td>
	</tr>
</table>
<br/>

<table cellspacing=1 cellpadding=3 align=center class=tableBorder2>
	<tr>
		<td height=25 valign=middle align=right>
	                商品名称：<input type="text" id="name" value="${name}"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	      <input type="button" value="搜索" onclick="search()"/>
	    </td>
	</tr>
</table>
<br/>


<%--正文 --%>

 <table cellpadding="3" cellspacing="1"  class=tableBorder1 >
  <tr>
    <td align=center valign=middle background="images/bg2.gif"  height=25 width=""><font color="#ffffff"><b>序号</b></font></td>
    <td align=center valign=middle background="images/bg2.gif"  height=25 width=""><font color="#ffffff"><b>商品名称</b></font></td>
    <td align=center valign=middle background="images/bg2.gif"  height=25 width=""><font color="#ffffff"><b>价格</b></font></td>
    <td align=center valign=middle background="images/bg2.gif"  height=25 width=""><font color="#ffffff"><b>操作</b></font></td>
    
  </tr>
  
  <c:forEach items="${plist}" var="p"  varStatus="list">
  <tr>
   <td class=TableBody2 valign=middle align=center >${list.count}</td>
   <td class=TableBody1 valign=middle >${p.name}</td>
   <td class=TableBody2 valign=middle align=center >${p.baseprice}</td>
   <td class=TableBody1 valign=middle align=center ><a><img src="images/car_new.gif" border=0></a></td>
   </tr>
  </c:forEach>
 
</table> 






<%@ include file="../foot.jsp" %>